Release 10.1A: OpenEdge Development:
Java Open Clients
Constructors
The
ProDataGraphclass has two constructors:ProDataGraph created from meta data
The following constructor creates a
ProDataGraphobject with the specified meta data:
dgmdSpecifies the meta data as a
ProDataGraphMetaDataobject, which provides all the information necessary to map theProDataGraphto a Progress 4GL ProDataSet. (See the "ProDataGraphMetaData class" section.)ProDataGraph created from an initial DataGraph
The following constructor creates a
ProDataGraphobject from a specified initial Java SDODataGraphobject:
dgSpecifies the initial Java SDO
DataGraphobject. ThisDataGraphobject must conform to theProDataGraphformat: the rootDataObjectmust contain only reference properties (toDataObjectlists), where each reference property represents a temp-table of a 4GL ProDataSet. If the rootDataObjectdoes not have this format, the constructor throws anOpen4GLException.dgNameSpecifies the name of the
ProDataGraph, which is typically identical to the 4GL name of a corresponding ProDataSet.drListSpecifies an array of
ProDataRelationMetaDataobjects. In theDataObjecthierarchy of the initialDataGraph, if a parent-child relationship exists between two temp-tables (DataObjectlists), you must add a correspondingProDataRelationMetaDataobject that describes this relationship to theProDataRelationMetaDataarray. (See the "ProDataRelationMetaData class" section.)
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |